package m.stock.v1;

import java.util.Comparator;

/**
 * Created by maojianfeng on 8/5/16.
 */
public class StockRecordComparator implements Comparator<StockRecord>{

    public int compare(StockRecord o1, StockRecord o2) {
        return o1.getDate().compareTo(o2.getDate());
    }
}
